import operator

def xor(*args):
    return reduce(operator.xor, args)

